class CQueue {
public:
    CQueue() {
        
    }
    
    void appendTail(int value) {
        BookQu.push(value);
    }
    
    int deleteHead() {
        if(BookQu.empty()) return -1;
        int ret = BookQu.front();
        BookQu.pop();
        return ret;
    }
private:
    queue<int> BookQu;
};

/**
 * Your CQueue object will be instantiated and called as such:
 * CQueue* obj = new CQueue();
 * obj->appendTail(value);
 * int param_2 = obj->deleteHead();
 */
